Jordan Cross Java Ch. 3 3.1- 1. Vocabulary is the set of all of the words and symbols in the language. An example of vocabulary in Java is numeric literals. 2. In java the arithmetic operators for multiply and divide must not be adjacent. 3. It is the formula for all the expressions. 4. Programing languages have small vocabularies and simple syntax and semantics compared to natural languages. 3.2- 1. Double has 4 more bytes than int. 2. Data types are combined in expressions involving operators, such as addition and multiplication. Where objects are sent messages. 3. a=230,000 b=46,000 4. a=.03221 b=.5560 5. temperature conversion and data types 6. Because it changes and dosent remain constant. 7. income tax 8. ; 9. b143 10. Declarations and Constants 11. 1kg= 2.2 lbs 12. a= 25 b= -3 c= 30 d= .5 13. a= * is in wrong place b= no begining parentheses on the c c= nothing there 14. a= 2.25 b= -2.5 c= 2% 15. a= z b= x and z c= fine 16. a= x is equal to y b= x is greater than y 17. fine point 18. a= 15 b= 12 c= idk its gay 19. jordan, 5646 w 100 n greenfield, IN, 317-894-2577 20. methods return values and messages done 21. what type of value it returns; its name; the number and type of the parameters it expects 22. a= yes b= yes c= no d= no e= yes 23. great is a and c ok is b 24. x is horizontal y is vertical and z is the 3d 25. it throws a party 3.3- 1. a= who cares b= i wont use this in my life 2. to make you mad bc its gay 3.4- 1. End of line comments are comments that follow the double slash (//) where multiline comments have an opening /* and a closing /*. 2. Precede major segments of code with brief comments that explain their purpose, and include comments to explain the workings of complex or tricky sections of code. 3.5- 1. All the errors are detected at the end of your code. 2. Dividing by zero is an run-time error and the reason you can not find this til the end of the code process is because you have to end the code to find an answer in this case. 3.6- 1. You add extra lines of code and then run the program from this we can determine any of the variables deviate from their expected values. 2. i found it its highlighted in the book. 3.7- 1. abcd are great they go all directions 2. you put in the red first then the blue 3. The methods getWidth() and getHeight() return the current width and height of a panel. 4. Font style, Font size, and Font name.